package com.qdu.mapper;

import com.qdu.entity.Shareinformation;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ShareinformationMapper {
    int insert(Shareinformation record);

    int insertSelective(Shareinformation record);

    Shareinformation selectByHid(String hid);

    List<Shareinformation> selectByMid(String mid);

    List<Shareinformation> selectByUid(String uid);

    int deleteByHid(String hid);

    int updateByPrimaryKey(Shareinformation record);

    int updateByPrimaryKeySelective(Shareinformation record);
}